package cn.life.business.literature.service;

import cn.life.common.entity.model.CMessage;
import cn.life.business.literature.entity.po.Literature;
import cn.life.business.literature.entity.vo.LiteratuerVo;

/**
 * Created by Wangzhenyu on Date
 */
public interface LiteratureService {
    /**
     * @Description: 增加文献记录
     * @param literature
     * @return
     */
    CMessage addLiterature(Literature literature);
    /**
     * @Description: 删除文献记录
     * @param literatureId
     * @return
     */
    CMessage deleteLiterature(long literatureId);
    /**
     * @Description: 修改文献
     * @param literature
     * @return
     */
    CMessage updateLiterature(Literature literature);
    /**
     * @Description: 查询文献
     * @param literatuerVo
     * @return
     */
    CMessage getAllLiteratureInfo(LiteratuerVo literatuerVo);
    /**
     * @Description: 查询单条（详情页面）文献
     * @param literatuerVo
     * @return
     */
    CMessage getLiterature(LiteratuerVo literatuerVo);

}
